home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
emacs
/
emacs1857
/
bin_d2.zoo
/
emacs.rc
next >
Wrap
Lisp/Scheme
|
1991-12-02
|
3KB
|
83 lines
;; emacs.rc -- initialization file for gnu-emacs
;; Author : Edgar Roeder
;; Created On : Mon Dec 11 01:46:40 1989
;; Last Modified By: unknown
;; Last Modified On: Fri Sep 27 01:24:16 1991
;; Update Count : 36
;; Status : ok
;; set some defaults
(setq completion-ignored-extensions ; add st-specific extensions
(append '(".prg" ".tos" ".ttp" ; programs
".acc" ".app" ".mmx" ; other executables
".rsc" ; resources
".olb" ".lib" ; object code libraries
".bak" ; backup files
".arc" ".lzh" ".zoo" ; packed archives
".pic" ".doo" ".spc" ".neo"
".pi1" ".pi2" ".pi3" ; picture files
)
completion-ignored-extensions))
(setq default-major-mode 'text-mode)
(setq-default c-mode-hook
'(lambda () ; for C mode:
(turn-on-auto-fill) ; use auto-fill
(defvar fill-loaded nil)
(if fill-loaded nil
(load-library "c-fill") ; load c-comment
(setq fill-loaded t)))) ; (only once!)
(setq ctl-arrow "dummy") ; set to non nil/t for 8-bit chars
;; define function keys term/atari.el
(load "term/atari.el")
(setq meta-flag 't)
;; define utility functions
;
;
(defun show-matching-paren (arg)
"Act as if a close-paren had been self-inserted."
(interactive "p")
(forward-char)
(blink-matching-open)
(backward-char))
(defun display-mem ()
(interactive)
(message "Memory usage: %d bytes free, %d bytes used (%d%%)"
data-bytes-free data-bytes-used
(/ (* data-bytes-used)
(/ (+ data-bytes-used data-bytes-free) 100))))
;; personalize the keypad key bindings
; Must be done after (load 'term/atari.el)
(define-key function-keymap "\C-a" 'display-mem) ; F1 key
(define-key function-keymap "\C-b" 'goto-line) ; F2 key
(define-key function-keymap "\C-c" 'what-line) ; F3 key
(define-key function-keymap "I" 'overwrite-mode) ; Insert key
;;; Commands added by calc-private-autoloads on Wed Nov 20 22:37:51 1991.
(autoload 'calc-dispatch "calc" "Calculator Options" t)
(autoload 'full-calc "calc" "Full-screen Calculator" t)
(autoload 'full-calc-keypad "calc" "Full-screen X Calculator" t)
(autoload 'calc-eval "calc" "Use Calculator from Lisp")
(autoload 'defmath "calc" nil t t)
(autoload 'calc "calc" "Calculator Mode" t)
(autoload 'quick-calc "calc" "Quick Calculator" t)
(autoload 'calc-keypad "calc" "X windows Calculator" t)
(autoload 'calc-embedded "calc" "Use Calc inside any buffer" t)
(autoload 'calc-embedded-activate "calc" "Activate =>'s in buffer" t)
(autoload 'calc-grab-region "calc" "Grab region of Calc data" t)
(autoload 'calc-grab-rectangle "calc" "Grab rectangle of data" t)
(autoload 'edit-kbd-macro "macedit" "Edit Keyboard Macro" t)
(autoload 'edit-last-kbd-macro "macedit" "Edit Keyboard Macro" t)
(autoload 'read-kbd-macro "macedit" "Read Keyboard Macro" t)
(setq load-path (append load-path (list "/dev/D/bin/emacs/lisp/calc-20")))
(setq Info-directory "/dev/D/bin/emacs/lisp/calc-20")
(setq calc-info-filename "calc.info")
(global-set-key "\e#" 'calc-dispatch)
;;; End of Calc autoloads.